package org.hswebframework.example.crud.service;

import java.util.List;

public class CountAggregator<T> implements Aggregator {
    @Override
    public Object aggregate(Object key, List values) {
        return values.size();
    }
}
